package com.lopo.config;

import org.objectweb.asm.ClassReader;

import java.io.IOException;
import java.io.InputStream;

public class main {
    public static void main(String[] args) throws IOException {
       /* MyClassLoader myClassLoader = new MyClassLoader("D:\\");
        try {
            Class<?> clazz = myClassLoader.loadClass("Jt");
            //打印具体的类加载器，验证是否是由我们自己定义的类加载器加载的
            System.out.println("测试字节码是由" + clazz.getClassLoader().getClass().getName() + "加载的。。");
            Object o = clazz.newInstance();
            System.out.println(o.toString());
        } catch (Exception e) {
            e.printStackTrace();
        }*/
    }
}
